Total Complexity | 9 |
Dependencies | 2 |
Dependents | 2 |
Total lines | 74 |
Lines of code | 28 |
Logical lines of code | 12 |
Comment lines | 33 |
Methods | 7 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
new_cart() | 65 | 3 | 10 | |
__construct() | 82 | 1 | 3 | |
add_product() | 79 | 1 | 3 | |
replace_global_cart() | 80 | 1 | 3 | |
empty_cart() | 80 | 1 | 3 | |
restore_global_cart() | 82 | 1 | 3 | |
cart() | 82 | 1 | 3 |